<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>这是一个错误</title>
	<style>
		html, body, div, h1, * {
			margin: 0;
			padding: 0;
		}

		body {
			background-color: #fefefe;
			color: #333
		}

		.box {
			width: 60%;
			margin: 0 auto;
		}

		h1 {
			font-size: 20px;
			text-align: center;
			background: url() no-repeat top center;
			padding-top: 160px;
			margin-top: 10%;
			font-weight: normal;
		}
	</style>
</head>

<body onselectstart="return false" ondragstart="return false" onbeforecopy="return false" oncopy=document.selection.empty() onselect=document.selection.empty()>
<div class="box">

	<?php if (_CONF('debug')) { ?>
		<?php if (isset($error['file'])) { ?>
			<h1>Error File : <?php echo str_replace(__ROTDIR__, '', $error['file']), '(', $error['line'], ')' ?></h1>
			<pre style="margin-top:20px"> <?php echo $error['message'] ?></pre>
		<?php } else { ?>
			<h1 style="margin-top:20%;text-align: center;"><?php echo $message ?></h1>
		<?php } ?>
	<?php } else { ?>
		<h1>程序抛出了一个异常</h1>
		<pre style="margin-top:20px;text-align:center">程序猿刚刚被揍了，因为他写了这个BUG</pre>
	<?php } ?>
</div>
</body>
</html>
